package com.example.softwareconfigurationcoursedesign;

public class Main {
            public static void main(String[] args) {
                User user = new User(456,"123","666","123");
//                LogService.addLogs(user,"666");
//                LogService.queryLogs(user);
                AdminServlet adminServlet=new AdminServlet();
                adminServlet.addUserToDatabase(user );
                //adminServlet.editUserInDatabase(user);
                //adminServlet.deleteUserFromDatabase(user.UserId);
                ProductService productService=new ProductService();
                //productService.searchProduct("666");
                //productService.addProduct(user.Name,6,"66","66");
                productService.editProduct(6,"6",6,"66","6");
                productService.deleteProduct(6);


            }

        }
